home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4664 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  656 b 

  1. Path: news.uni-jena.de!news
  2. From: mkt@isun04.inf.uni-jena.de (Tilo Koerbs)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: (no subject)
  5. Date: 31 Jan 1996 15:05:58 GMT
  6. Organization: Lehrstuhl fuer Rechnerarchitektur- und kommunikation, FSU Jena
  7. Message-ID: <4eo0gm$qlr@fsuj01.rz.uni-jena.de>
  8. References: <4enmro$kac@igubu.saix.net>
  9. Reply-To: mkt@isun04.inf.uni-jena.de
  10. NNTP-Posting-Host: isun07.inf.uni-jena.de
  11.  
  12. Your ostream functions must be friends!!! The first operand of << is
  13. always a stream! To be a member function the first operand must be the object
  14. to call the function for. But you cannot change class ostream!
  15.  
  16. Sorry, your program will never run.
  17. Bye.
  18.  
  19.  
  20.